@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800;900&family=Paytone+One&family=Rubik:wght@100;300;500;700&display=swap');
@import "@fontsource/paytone-one";
@import "@fontsource/paytone-one/400.css";
@import "@fontsource/paytone-one/400-italic.css";
:root {
    --gray-light: #1b1d23;
    --gray-dark: #131519;
    --gray-darkest: #0d0f11;
    --brand-coal: #0f0d0e;
    --brand-charcoal: #231f20;
    --brand-charcoal-muted: #1b1918;
    --brand-gray: #262522;
    --brand-yellow: #fcba28;
    --brand-pink: #f38ba3;
    --brand-green: #0ba95b;
    --brand-purple: #7b5ea7;
    --brand-beige: #f9f4da;
    --brand-blue: #12b5e5;
    --brand-orange: #fc7428;
    --brand-red: #ed203d;
    --brand-white: #fff;
    --red: var(--brand-red);
    --white: var(--brand-beige);
    --purple: var(--brand-purple);
    --black: var(--brand-coal);
    --blue: var(--brand-blue);
    --pink: var(--brand-pink);
    --gold: var(--brand-yellow);
    --aqua: var(-- brand-blue);
    --gray: var(--brand-gray);
    --yellow: var(--brand-yellow);
    --green: var(--brand-green);
    --orange: var(--brand-orange);
    --charcoal: var(--brand-charcoal);
    --coal: var(--brand-coal);
}

html {
    font-family: Outfit, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: max-content;
    font-feature-settings: normal;
}

body {
    background: var(--brand-coal);
}

nav {
    margin-top: 90px;
    position: fixed;
    width: auto;
    height: 50px;
    z-index: 1;
    background: none;
    border-radius: 15px;
    backdrop-filter: blur(7px);
    align-items: center;
    display: flex;
    justify-content: center;
}

header {
    margin: auto 0;
    display: flex;
    align-items: center;
    width: auto;
    justify-content: center;
}

nav ul {
    padding: 25px;
    text-align: center;
    align-content: center;
}

nav ul li {
    text-align: center;
    display: inline-block;
    padding: 1rem;
    padding-inline-start: 3rem;
    color: white;
    font-size: 20px;
    font-family: "Rubik", sans-serif;
    font-weight: 500;
}

nav ul li a {
    text-decoration: none;
    color: white;
}

nav ul li a:hover {
    border-bottom: 2px solid var(--white);
    transition: all 0.4s ease-in-out;
    transform-origin: 3px;
    padding-bottom: 5px;
    color: var(--white);
}


/* section-1 */

.top-cont section {
    height: 300px;
    position: relative;
    margin: 7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #f9f4da;
    border-radius: 1rem;
}

.top-cont section h3 {
    font-family: Paytone One, sans-serif;
    color: var(--brand-yellow);
    -webkit-text-stroke: 0.1px black;
    letter-spacing: 1px;
    font-size: 2.4rem;
    text-align: center;
}

.top-cont section ul li {
    display: inline;
    padding-inline: 5rem;
    text-align: center;
    list-style: none;
    font-family: Inter, sans-serif;
    color: #0a001a;
    font-weight: 400;
    letter-spacing: 0.5px;
    font-size: 0.8rem;
    text-align: center;
    margin: 15px;
}

.main-cont section {
    height: 500px;
    position: relative;
    margin: 7rem;
    display: flex;
    align-items: center;
    flex-direction: row;
    background-color: var(--brand-charcoal);
    border-radius: 1rem;
    gap: 10px;
}

.main-cont section .box {
    /* border: 1px solid #fff; */
    height: 350px;
    width: 500px;
}

.main-cont section .box p {
    /* font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji; */
    /* font-family: "Paytone One"; */
    font-family: Inter, sans-serif;
    /* font-family: Outfit, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif; */
    font-size: 18px;
    margin: 1rem 0;
    text-align: justify;
    color: #f9f4da;
    line-height: 1.55;
    font-weight: 500;
}

.main-cont section .box p a {
    font-size: 18px;
    color: #12b5e5;
    font-weight: 900;
}

.main-cont section .box img {
    height: 450px;
    position: relative;
    top: -2.5rem;
}

.main-cont2 {
    height: 250px;
    position: relative;
    margin: 7rem;
    display: flex;
    justify-content: center;
    flex-direction: row;
    background-color: var(--brand-charcoal);
    border-radius: 1rem;
}

.main-cont2 .box2 {
    /* border: 1px solid #fff; */
    height: 100px;
    width: auto;
}

.main-cont2 .box2 p {
    /* font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji; */
    /* font-family: "Paytone One"; */
    font-family: Inter, sans-serif;
    /* font-family: Outfit, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif; */
    font-size: 18px;
    margin: 1rem;
    color: #f9f4da;
    line-height: 1.55;
    font-weight: 500;
}

.main-cont .links ul li {
    display: inline;
    padding-inline: 5rem;
    text-align: center;
    list-style: none;
    font-family: Inter, sans-serif;
    color: #f9f4da;
    font-weight: 800;
    letter-spacing: 0.5px;
    font-size: 1.1rem;
}

.main-cont .links ul li a {
    color: #f9f4da;
    font-family: Inter, sans-serif;
    color: #f9f4da;
    font-weight: 800;
    letter-spacing: 0.5px;
    font-size: 1.1rem;
}


/* Footer */

footer {
    display: flex;
    flex-direction: column;
    font-family: Paytone One, sans-serif;
    position: relative;
    margin-top: 8rem;
}

.footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 65px 8vw;
    color: #e2e0e5;
    background: radial-gradient(4px 4px at 50% 50%, var(--brand-coal) 50%, transparent 50%) top / 40px 40px repeat, radial-gradient(8px 8px at 50% 50%, rgba(255, 255, 255, .1) 50%, transparent 50%) top / 40px 40px repeat;
}

.footer .h5 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.footer .brand .h5 {
    display: flex;
    text-transform: uppercase;
    gap: 16px;
}

.footer>div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.footer .brand {
    max-width: 200px;
    gap: 24px;
    line-height: 1.5;
}

.newsletter {
    position: relative;
}

.newsletter input {
    font-size: 16px;
    font-weight: 400;
    height: 53px;
    padding: 6px 6px 6px 16px;
    background: transparent;
    border: 1px solid #e2e0e5;
    color: #e2e0e5;
    outline: none;
    border-radius: 14px;
    font-size: 16px;
    width: 370px;
}

.newsletter button {
    position: absolute;
    padding: 16px 40px;
    height: 53px;
    border-radius: 10px;
    border: none;
    background-color: var(--brand-yellow);
    font-size: 18px;
    font-weight: 500;
    color: var(--brand-purple);
    right: 6px;
    top: 6px;
    transition: all 0.5s;
    font-family: Paytone One, sans-serif;
    justify-content: center;
    text-align: center;
}

.newsletter button:hover {
    cursor: pointer;
    background-color: transparent;
    border: 2px solid var(--brand-yellow);
    padding: 16px 40px;
}

.about .h5 {
    font-family: Paytone One, sans-serif;
    text-align: center;
    color: #fcba28;
}

.subjects .h5 {
    font-family: Paytone One, sans-serif;
    text-align: center;
    color: #fcba28;
}

.product .h5 {
    font-family: Paytone One, sans-serif;
    text-align: center;
    color: #fcba28;
}

.social {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.social .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.21);
    border-radius: 20% 20% 20% 20%;
}

.social a {
    transition: all 0.3s ease;
}

.social a:hover {
    transform: scale(1.1);
}

.copyright {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 18px 8vw;
    background-color: var(--brand-yellow);
}

.copyright a {
    color: #0a001a;
    margin: 0 1vw 0 1vw;
}

.copyright p {
    font-size: 14px;
    font-weight: 100;
}

p,
a {
    font-size: 16px;
    font-weight: 400;
}

a {
    color: #e2e0e5;
    text-decoration: none;
}

footer a {
    position: relative;
}

footer a:not(.social-icon)::before {
    background-color: #e2e0e5;
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    border-radius: 4px;
    bottom: 0;
    left: 0;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

footer a:hover::before {
    transform-origin: left;
    transform: scaleX(1);
}

@media (max-width: 960px) {
    .footer {
        gap: 72px;
        display: grid;
        grid-template-rows: 3fr;
    }
    .footer .brand {
        max-width: 400px !important;
    }
    .subscribe {
        display: block;
        grid-column-start: 1;
        grid-column-end: 3;
    }
    .subscribe .newsletter {
        width: 100%;
        max-width: 370px;
    }
    .subscribe .newsletter input {
        width: calc(100% - 22px);
    }
    .copyright {
        padding: 32px 5vw;
    }
    .copyright p,
    .copyright a {
        font-size: 14px;
    }
    .footer {
        padding: 72px 8vw;
    }
}

@media screen and (max-width:768px) {
    .footer {
        gap: 72px;
        display: grid;
        margin-top: -2rem;
        grid-template-rows: 3fr;
        width: 700px;
    }
    .copyright {
        width: 750px;
    }
}

@media (max-width: 425px) {
    p,
    a {
        font-size: 14px;
    }
    .footer .h5 {
        font-size: 16px;
    }
    .footer {
        gap: 72px;
        display: grid;
        margin-top: 75rem;
        grid-template-rows: 3fr;
        width: 500px;
    }
    .copyright {
        padding: 32px 5vw;
    }
    .copyright p,
    .copyright a {
        font-size: 10px;
    }
    .copyright {
        width: 500px;
    }
}